﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="KardexItemRpt.aspx.cs" Inherits="UILGestion.Rpt.KardexItemRpt" %>

<%@ Register Assembly="SesarchResultLib" Namespace="SesarchResultLib" TagPrefix="cc4" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<%@ Register Assembly="WebLib" Namespace="WebLib" TagPrefix="cc3" %>
    <%@ Register assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" namespace="CrystalDecisions.Web" tagprefix="CR" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc2" %>
<%@ Register Assembly="CustomControls" Namespace="CustomControls" TagPrefix="cc1" %>
<%@ Register src="../Control/menuCtrl.ascx" tagname="menuObraCtrl" tagprefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../css/main.css" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" type="text/css" href="../estilos/_common/styles/fonts.css" />
    <link rel="stylesheet" type="text/css" href="../estilos/_common/styles/fonts.css" />
 <link rel="stylesheet" type="text/css" href="../estilos/_common/styles/global.css" />
 <link rel="stylesheet" type="text/css" href="../estilos/_common/styles/theme.css" />

      <script type="text/javascript">
<!--

          function goPage() {

              var ini=document.getElementById("inicioTextBox").value;
              var fin=document.getElementById("finTextBox").value;
              var alm = document.getElementById("idAlmacen").value
              var resu = document.getElementById("resumenCheckBox").checked

              if (resu)
              {resu = 1; }
              else {resu = 0;}
              window.open('PrintForm.aspx?type=Kardex&ini=' + ini.toString() + '&fin=' + fin + '&idAlmacen=' + alm.toString() + '&resu=' + resu.toString());
          }

-->
</script>
</head>
<body>
    <form id="form1" runat="server" >



    <cc2:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server" EnableScriptGlobalization="true">
    </cc2:ToolkitScriptManager>
     <input id="idObra" type="hidden" runat="server"/>
     <input id="idAlmacen" type="hidden" runat="server"/>
     
     <uc1:menuObraCtrl ID="menuObraCtrl1" runat="server" />
       <asp:Panel ID="pnlMain" runat="server" 
  CssClass="Heading secTitle AreaHeading ms-crm-List-Header">
                    <asp:Label ID="Label1" runat="server" Text="MOVIMIENTO KARDEX VALORIZADO" 
                         style="font-size: large; color: #960818"></asp:Label>
                         </asp:Panel>
        
        <asp:Panel ID="PanelBody" runat="server"  BackColor="white" > 
        <table  >
        <tr>
        <td align='right' valign="top" width="200px">
            Fecha Inicio:
        </td>
        <td  align="left" colspan="2">
        
          <asp:TextBox ID="inicioTextBox" runat="server" Width="120px"></asp:TextBox>
                          <asp:ImageButton ID="ImageButton2" runat="Server" 
                              AlternateText="Click aqui para mostrar calendario" 
                              ImageUrl="~/Images/month.gif" Width="16px" />
                          <asp:CalendarExtender ID="CalendarExtender1" runat="server" 
                              PopupButtonID="ImageButton2" TargetControlID="inicioTextBox">
                          </asp:CalendarExtender>
       
        </td>
            <td align="left">
                &nbsp;</td>
        </tr>
        <tr>
        <td align="right" valign="top">
            Fecha Fin:
        </td>
        <td align="left" colspan="2">
            
          <asp:TextBox ID="finTextBox" runat="server" Width="120px"></asp:TextBox>
                          <asp:ImageButton ID="ImageButton1" runat="Server" 
                              AlternateText="Click aqui para mostrar calendario" 
                              ImageUrl="~/Images/month.gif" Width="16px" />
                          <asp:CalendarExtender ID="CalendarExtender2" runat="server" 
                              PopupButtonID="ImageButton1" TargetControlID="finTextBox">
                          </asp:CalendarExtender>
        </td>
            <td align="left">
                &nbsp;</td>
        </tr>
        <tr>
        <td align="right">
            Resumen:</td>
        <td>
            <asp:CheckBox ID="resumenCheckBox" runat="server" />
        </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
        <td>
            
        </td>
        <td align="right">
            &nbsp;</td>
            <td align="right">
                <asp:Button runat="server" CssClass="ms-crm-List-Header" 
                    OnClientClick="goPage();return true" Text="Ejecutar" Width="100px" />
            </td>
        </tr>
        </table>
        </asp:Panel>
    
    </form>
</body>
</html>
